package movieGandalf.search;

public class MovieNameParam implements SearchParam{

	private String movieName;
	
	public MovieNameParam(String movieName){
		this.movieName = movieName;
	}
	
	public String getParam() {
		return "movieName LIKE CONCAT('%',?,'%')";
	}
	
	public String getJoin(){
		return "";
	}

	public Object getValue() {
		return "" + movieName + "";
	}
	
	public boolean isParamOnJoin(){
		return false;
	}
	
}
